<?php

/**
 * Materia form.
 *
 * @package    ecampus
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class MateriaForm extends BaseMateriaForm
{
    //@todo: revisar para que el campo activo no sea null
//  public function  save($con = null) {
//      $this->getObject()->setActiva(true);
//      parent::save($con);
//    }
  public function configure()
  {
      $this->removeFields();

      $this->widgetSchema['descripcion'] = new sfWidgetFormTextArea();
     
  }
  protected function removeFields()
  {
      unset($this['activa']);
  }
}
